package com.wjsh.common.base.mvp;

import com.wjsh.common.integration.IRepositoryManager;

/**
 * Created by chenbaolin on 2017/8/10.
 */

public class BaseModel implements IModel {
    //用于管理网络请求层,以及数据缓存层
    protected IRepositoryManager mRepositoryManager;

    public BaseModel(IRepositoryManager mRepositoryManager) {
        this.mRepositoryManager = mRepositoryManager;
    }

    @Override
    public void onDestroy() {
        mRepositoryManager = null;
    }
}
